﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;


/// <summary>
///ApplicationClass 的摘要说明
/// </summary>
public class ApplicationClass
{
    public ApplicationClass()
    {
        //
        //TODO: 在此处添加构造函数逻辑
        //
    }
    public static string GetDefaultFYDM = ConfigurationManager.AppSettings["DefaultFYDM"];
    public static DBService.IDBService AppDBService = new DB2Service.DB2ServiceClass();
    public static string ConnectionString= ConfigurationManager.ConnectionStrings["DB2"].ConnectionString;
    public static ZXTJLX_Obj_Manager ZXTJLX_Manager = new ZXTJLX_Obj_Manager(System.AppDomain.CurrentDomain.BaseDirectory + "\\zxgztj.aspx.xml");
    public static RXCourt.ICourt MyCourt = RXCourt.CourtFactory.GetCourt(GetDefaultFYDM,AppDBService, ConnectionString);
}
